Public Class articulos
    Inherits Conexion

#Region " Component Designer generated code "

    Public Sub New(ByVal Container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        Container.Add(Me)
    End Sub

    Public Sub New()
        MyBase.New()

        'This call is required by the Component Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Required by the Component Designer
    Private components As System.ComponentModel.Container

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()

    End Sub
#End Region

    Public Function Lista(ByRef Mensaje As String, ByRef Listado As DataSet) As Boolean
        Dim Res As Boolean
        Listado = New DataSet
        Try
            SQLSelect.CommandText = "Select * From prueba"
            Adaptador.Fill(Listado)
            Mensaje = "Datos Completos"
            Res = True
        Catch Ex As Exception
            Mensaje = Ex.Message
            Res = False
        End Try
        Return Res
    End Function

End Class
